package com.platform.mvc.tom;

import com.platform.annotation.Table;
import com.platform.constant.ConstantInit;
import com.platform.mvc.base.BaseModel;


import org.apache.log4j.Logger;

/**
 *  model
 * @author 董华健  dongcb678@163.com
 */
@SuppressWarnings("unused")
//@Table(tableName = "t_tom")
public class Tom extends BaseModel<Tom> {

	private static final long serialVersionUID = 6761767368352810428L;

	private static Logger log = Logger.getLogger(Tom.class);
	
	public static final Tom dao = new Tom();
	
	/**
	 * 字段描述：ID 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_ids = "ids";
	
	/**
	 * 字段描述：姓名 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_testname = "testname";
	
	/**
	 * 字段描述：密码 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_testpassword = "testpassword";
	
	/**
	 * 字段描述：版本 
	 * 字段类型：bigint(20)  长度：null
	 */
	public static final String column_version = "version";
	
	
	/**
	 * sqlId : platform.tom.splitPageFrom
	 * 描述：分页from
	 */
	public static final String sqlId_splitPage_from = "platform.tom.splitPageFrom";

	private String ids;
	private String testname;
	private String testpassword;
	private Long version;

	public void setIds(String ids){
		set(column_ids, ids);
	}
	public <T> T getIds() {
		return get(column_ids);
	}
	public void setTestname(String testname){
		set(column_testname, testname);
	}
	public <T> T getTestname() {
		return get(column_testname);
	}
	public void setTestpassword(String testpassword){
		set(column_testpassword, testpassword);
	}
	public <T> T getTestpassword() {
		return get(column_testpassword);
	}
	public void setVersion(Long version){
		set(column_version, version);
	}
	public <T> T getVersion() {
		return get(column_version);
	}
	
}
